package com.ruoyi.base.domain;

import com.ruoyi.cems.domain.BmsBaseEntity;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 主机场联络;对象 base_main_airport_contact
 * 
 * @author ruoyi
 * @date 2024-07-23
 */
@Data
@ApiModel(description = "主机场联络")
public class BaseMainAirportContact extends BmsBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主机场表ID */
    @Excel(name = "主机场表ID")
    private String maId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String tel;

    /** 部门 */
    @Excel(name = "部门")
    private String dept;

    @Excel(name = "备注")
    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("机场名称")
    private String maName;

    @ApiModelProperty("三字码")
    private String maCode;

    @ApiModelProperty("单位编码")
    private String unitCode;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("REVISION", getREVISION())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("maId", getMaId())
            .append("name", getName())
            .append("tel", getTel())
            .append("dept", getDept())
            .append("remark", getRemark())
            .append("maName", getMaName())
            .append("maCode", getMaCode())
            .append("unitCode", getUnitCode())
            .toString();
    }
}
